#ifndef HUMANPLAYER_H
#define HUMANPLAYER_H

#include "Common/Common.h"
#include "GameCore/Core.h"
#include "Game/Logic/Creature/Creature.h"
#include "IPlayer.h"

class HumanPlayer : public IPlayer, public core::IKeyboardListener, public core::IMouseListener
{
public:
	HumanPlayer();
	HumanPlayer( Creature* creature );
	virtual ~HumanPlayer();

	virtual Creature* GetCreature() const;
	virtual void SetCreature( Creature* creature );

	virtual void KeyPressed( core::KeyboardKey key );
	virtual void KeyReleased( core::KeyboardKey key );

	virtual void ButtonPressed( core::MouseButton button );
	virtual void ButtonReleased( core::MouseButton button );
	virtual void OnMove( cmn::Vec2 pos );
	virtual void OnWheel( int pos );

private:
	Creature* m_creature;
};

#endif
